﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="ProduceMaterial.aspx.cs" Inherits="Ewts.Production.ProduceMaterial" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<link rel="stylesheet" href="/css/tab4.css" type="text/css" />
         <link type="text/css" href="/css/tab1.css" rel="stylesheet" />
           <link type="text/css" href="/css/tab2.css" rel="stylesheet" />
   <style type="text/css">
         .instorClass
        {
            background-color: #fafafa;
	        height: 100%;
	        width: 100%;
	        margin: 0px;
	        padding-top: 1px;
	        padding-left: 1px;
	        border-top-style: none;
	        border-right-style: none;
	        border-bottom-style: none;
	        border-left-style: none;
        }
    
        .hiddenloadid{}
        .hiddencjoid{}
        .dropComeunDer{}
        .hiddenOper{}
        .hiddenInSid{}
        .dropPlate{}
        .txtin{}
       .style1
       {
           width: 51px;
       }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
      
<div class="tab1">
	<h1>生产领料</h1>
    <div>
        <table style="width:100%; border:0px; ">
            <tr>
                <td style="width:80px;height:15px;border:1px; text-align:right;">出库生产单:</td>
                <td style=" text-align:left;" ><label runat="server" id="lblOutNo" /></td>
                <td style="width:80px;height:15px;border:1px; text-align:right;">出库生产重量:</td>
                <td style=" text-align:left;" ><label id="lblTotalweight" class="lblTotalweight" runat="server" />kg</td>
           </tr>
            <tr>
                <td style="width:80px;height:15px;border:1px; text-align:right;">生产领料单:</td>
                <td style=" text-align:left;" ><label runat="server" id="lblInsno" class="lblInsno" /></td>
                <td style="width:80px;height:15px;border:1px; text-align:right;">领料单重量:</td>
                <td  style=" text-align:left;" ><label id="lblInsTotal" class="lblInsTotal" runat="server" />kg</td>
            </tr>
        </table>
     </div>
    
    <!--一个表单-->
        <input type="hidden" id="hidInStoID" value="0" class="hiddenInSid" runat="server" />
        <input type="hidden" id="hidOutid" value="0" class="hidOutid" runat="server" />
        <input type="hidden" id="hidLoadnum" value="0"  runat="server" class="hidLoadnum" />
        <input type="hidden" id="hidoutsno" value="0" class="hidoutsno" runat="server" />
        <input type="hidden" id="hidInDepart" value="" class="hidInDepart" runat="server" />
        <input type="hidden" id="hidOutDepart" value="" class="hidOutDepart" runat="server" />
        <input type="hidden" id="hidmonth" value="0" class="hidmonth" runat="server" />        
        <input type="hidden" id="hiddenOper" value="0" class="hiddenOper"  runat="server" />

        <table style="width:100%;" border="0" cellpadding="0" id="tab" cellspacing="0">
         <tr>            
            <th scope="col">序号</th>
            <th scope="col">物品编码</th>
            <th scope="col">物品名称</th>
            <th scope="col">净重</th>
            <th scope="col">数量</th>
            <th scope="col">备注</th>
            <th scope="col">入库时间</th>
             <th scope="col">条形码</th>
             <th scope="col">锁定</th>
             <th scope="col" colspan="3">操作</th>

            
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="text" name="textfield" tabindex="1" id="txtgc" style="width:100px;" />
                <input type="hidden" value="0" id="hidgdid"  class="hidgdid"/>
            </td>
            <td>
                <input type="text" name="textfield" id="txtgn" style="width:100px;" />
            </td>
            <td>
              <input type="text" name="textfield" tabindex="2"  id="txtgwt" style="width: 40px;"/>
            </td>
            <td style="width:40px">
                <input type="text" tabindex="5" name="textfield" id="txtqty" style="width:30px" />
            </td>
            <td>
                <input type="text" id="txtremark" />
            </td>  
            <td>
                <label id="lblInDate"></label>
            </td>
            <td>
                <label id="lblbarcode" class="lblbarcode"></label>
            </td>
             <td>
                <input type="checkbox" id="chkIsLock" class="chkAddBarLock" />锁定
            </td>
            <td colspan="3" >
                <input type="button" tabindex="9" id="btnSaveBarcode" value="插入"/>
            </td>
        </tr>
        <asp:Repeater ID="rept" runat="server">
        <ItemTemplate>
      <tr id='ttt'>
        <td ><%# Container.ItemIndex + 1 %></td>
            <td><%# Eval("goodscode")%></td>
            <td><%# Eval("goodsname")%></td>
            <td ><%# Eval("nwt")%></td>
            <td><%# Eval("qty") %></td>
            <td><%# Eval("Remark") %></td>
            <td><%# Eval("createdate")%></td>
            <td><%# Eval("barcodevalue")%></td>
            <td><input type="checkbox" title="<%# Eval("id")%>"  class="flase"  <%# GetIsLock(Eval("isLocak").ToString())%>  />锁定 </td>
            <td>
                <img src='/images/jian.png' onclick="javascript:delClick(this)" alt='<%# Eval("id") %> ' width='16' height='17' class='jian'/>
            </td>
            <td>
                <img src='/images/icons/button_update.gif' onclick='javascript:updateClick(this)' alt='<%# Eval("id") %> ' height='17'/>
            </td>
            <td><a href='/Storage/BarcodeSmallImg.aspx?barCodeID=<%# Eval("id") %>' target="_blank">条码重打</a></td>    
      </tr>
      </ItemTemplate>
       </asp:Repeater>
    </table>
    <div >
    		<asp:Button ID="btnSave" runat="server" Text="提交" onclick="btnSave_Click" 
                style="height: 25px" />&nbsp;&nbsp;&nbsp;
    		<asp:Button ID="btnCanel" runat="server" Text="取消"/>
    </div>
    <div class="align"></div>
</div>
 <script type="text/javascript" src="/js/ProduceMaterial.js"></script>
  
</asp:Content>
